package com.yixinsoft.basic.common.exception;

/**
 * Created by hqy on 2015/8/18.
 */
public enum Errors {
	ServerError(500, "服务器错误");
	
	private int errorCode;
    private String description;

    Errors(int errorCode, String description) {
        this.errorCode = errorCode;
        this.description = description;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public String getDescription() {
        return description;
    }
}
